package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.GarbageType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: ruohao
 * @Date: 2023/8/30
 **/
public interface GarbageTypeMapper {
    public GarbageType selectGarbageType(GarbageType garbageType);

    public List<GarbageType> selectGarbageTypeList(GarbageType garbageType);

    public List<GarbageType> selectAll();

    public GarbageType selectGarbageTypeById(Long id);

    public List<GarbageType> selectByIds(@Param("ids") List<Long> ids);

    public int insertGarbageType(GarbageType garbageType);

    public int updateGarbageType(GarbageType garbageType);

    public int deleteGarbageTypeById(Long id);

    public int deleteGarbageTypeByIds(@Param("ids") List<Long> ids);
}
